package com.liusr.common.result;

import lombok.Data;

import java.io.Serializable;

/**
 * @author Liusr
 * @date 2023/1/22
 * @package com.liusr.common.result
 * @Description: 统一返回格式对象
 */
@Data
public class Result<T> implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 响应码
	 */
	private Integer code;

	/**
	 * 响应信息
	 */
	private String msg;

	/**
	 * 响应对象
	 */
	private T data;
}
